﻿<%@ Page Title="Utenti" Language="VB" MasterPageFile="~/App/Master/App.master" AutoEventWireup="false" CodeFile="esempio1_rifaccio.aspx.vb" Inherits="App_esempio1_rifaccio" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphMainContent" runat="server">
    <asp:GridView ID="utenti" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="Opzioni">
                <ItemTemplate>
                    <asp:LinkButton ID="EditButton" Text="Modifica" CommandName="Update" runat="server"></asp:LinkButton>&nbsp;
                    <asp:LinkButton ID="LinkButton1" Text="Cancella" CommandName="Delete" runat="server"></asp:LinkButton>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:LinkButton ID="SaveButton" Text="Salva" CommpandName="Save" runat="server"></asp:LinkButton>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Email">
                <ItemTemplate>
                    <%# Eval("Email")%>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="EditEmail" Text='<%# eval("Email") %>' runat="server"></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>

